package com.ljlproxy.proxy;

/**
 * ClassName LjlInvocationHandlerImpl
 * Description 动态代理逻辑实现
 * Create by root
 * Date 2020/8/22 11:05
 */
public class LjlInvocationHandlerImpl implements LjlInvocationHandler {
    long s;
    long e;
    @Override
    public void before() {
        s = System.currentTimeMillis();
        System.out.println("before....任意逻辑实现");
    }

    @Override
    public void after() {
        e = System.currentTimeMillis();
        System.out.println("after....任意逻辑实现");
        System.out.println("耗时:"+(e-s));
    }
}
